package cn.swust.designpatternlearningplatform.domain.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;

/**
 * (TopicKnowledgeCorrelation)实体类
 *
 * @author makejava
 * @since 2023-04-15 21:11:13
 */
@ToString
@Data
public class TopicKnowledgeCorrelation implements Serializable {
    private static final long serialVersionUID = 510558599477369856L;
    /**
     * 知识点关联表
     */
    private Integer id;
    /**
     * 题目id
     */
    private Integer topicId;
    /**
     * 知识点id
     */
    private Integer pointId;

    /**
     * 知识点内容
     */
    private String pointContent;

    public static TopicKnowledgeCorrelation clone(TopicKnowledgeCorrelation topicKnowledgeCorrelation) {
        TopicKnowledgeCorrelation clone = new TopicKnowledgeCorrelation();
        BeanUtils.copyProperties(topicKnowledgeCorrelation, clone);
        return clone;
    }
}

